<!DOCTYPE html>
<html lang="en">
{% load static %}
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>反诈平台</title>

    <!-- favicon -->
    <link rel="icon" href="{% static 'assets/img/favicon.png' %}"sizes="16x16" type="image/png" />

    <!-- Stylesheet Link -->
    <link rel="stylesheet" href="{% static 'assets/css/style.css' %}" />
    <style>
    .main {
        display: flex;
    }
    section {
        width: 10000px;
    }
    iframe {
        width: 100%;
        height: 100%;
    }
</style>
</head>

<body class="t-bg-primary mx-sidenav-not-collapsed">
    <div class="main">
    
    <!-- Preloader  -->
    <div class="preloader-container">
        <div class="cssload-thecube m-auto">
            <div class="cssload-cube cssload-c1"></div>
            <div class="cssload-cube cssload-c2"></div>
            <div class="cssload-cube cssload-c4"></div>
            <div class="cssload-cube cssload-c3"></div>
        </div>
    </div>
    <!-- 左侧列表文件 -->
    <div class="col-3 col-xxl-2 mx-sidenav d-none d-xl-block">
        <div class="mx-sidenav__content t-bg-primary">
            <div class="mx-sidenav__brand">
                <a href="index.html" class="mx-sidenav__logo t-link">
                    <img src="{% static 'assets/img/logo-w.png' %}"alt="Adminage" class="img-fluid mx-sidenav__logo-is">
{#                    <h4 style="color: white">反诈骗平台</h4>#}
                </a>
                <a href="index.html" class="t-link mx-sidenav__logo-sm">
                    <img src="{% static 'assets/img/logo-w-sm.png' %}"alt="Adminage" class="img-fluid mx-sidenav__logo-sm-is">
                </a>
            </div>
            <div class="mx-sidenav__menu-container">
                <nav class="mx-sidenav__menu">
                    <ul class="t-list mx-sidenav__menu-is">
{#                        <li class="mx-sidenav__menu-item"> # active-page#}
                        <li class="mx-sidenav__menu-item">
                            <a href="#" onclick="up_load('{% url 'get_index' %}')" class="mx-sidenav__menu-link">
                                <span class="mx-sidenav__menu-icon t-mr-15">
                                    <span class='bx bx-category'></span>
                                </span>
                                <span class="mx-sidenav__menu-text text-capitalize">
                                    主页
                                </span>
                            </a>
                        </li>
                        <li class="mx-sidenav__menu-item">
                            <a href="#" onclick="up_load('{% url 'get_profile' %}')" class="mx-sidenav__menu-link">
                                <span class="mx-sidenav__menu-icon t-mr-15">
                                    <i class='bx bxs-user-account'></i>
                                </span>
                                <span class="mx-sidenav__menu-text text-capitalize">
                                    网址/电话检测
                                </span>
                            </a>
                        </li>


                        <li class="mx-sidenav__menu-item">
                            <a href="#" onclick=up_load("{% url 'get_list' %}") class="mx-sidenav__menu-link">
                                <span class="mx-sidenav__menu-icon t-mr-15">
                                    <i class='bx bxs-grid'></i>
                                </span>
                                <span class="mx-sidenav__menu-text text-capitalize">
                                    网址查询日志
                                </span>
                            </a>
                        </li>
                        <li class="mx-sidenav__menu-item">
                            <a href="#" onclick=up_load("{% url 'get_list_phone' %}") class="mx-sidenav__menu-link">
                                <span class="mx-sidenav__menu-icon t-mr-15">
                                    <i class='bx bx-category'></i>
                                </span>
                                <span class="mx-sidenav__menu-text text-capitalize">
                                    电话查询日志
                                </span>
                            </a>
                        </li>
                        <li class="mx-sidenav__menu-item">
                            <a href="#" onclick="up_load('{% url 'get_sticky' %}')" class="mx-sidenav__menu-link">
                                <span class="mx-sidenav__menu-icon t-mr-15">
                                    <i class='bx bx-sticker'></i>
                                </span>
                                <span class="mx-sidenav__menu-text text-capitalize">
                                    调用外部检测
                                </span>
                            </a>
                        </li>
                        <li class="mx-sidenav__menu-item">
                            <a href="#" onclick="up_load('{% url 'get_all_list' %}')" class="mx-sidenav__menu-link">
                                <span class="mx-sidenav__menu-icon t-mr-15">
                                    <i class='bx bxs-detail'></i>
                                </span>
                                <span class="mx-sidenav__menu-text text-capitalize">
                                    诈骗案例汇总
                                </span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
        <!-- Side Nav End -->
    </div>
    <section>
        <header class="header sticky-top d-none d-xl-block">
            <div class="primary-nav t-bg-primary">
                <div class="container-fluid px-0">
                    <div class="row g-0">
                        <div class="col-lg-12">
                            <div class="primary-nav-list--right-wrapper">
                                <ul class="t-list primary-nav-list primary-nav-list--right">
                                    <li
                                        class="primary-nav-list__item border-bottom-0 d-none d-lg-block t-line-1 ">
                                        <a href="#" class="t-link mx-sidenav-toggle">
                                            <span class="mx-sidenav-toggle__icon"></span>
                                        </a>
                                    </li>
                                    <li class="primary-nav-list__item border-bottom-0">
                                        <div class="dropdown">
                                            <div class="dropdown-menu messages-dropdown messages-dropdown--mega-menu">
                                                <div class="messages messages--primary">
                                                    <div class="messages__body" data-simplebar>
                                                        <ul class="t-list mega-menu">
                                                            <li class="mega-menu__list">
                                                                <span
                                                                    class="mega-menu__title text-uppercase">
                                                                    UI
                                                                    components
                                                                </span>
                                                                <ul
                                                                    class="t-list mega-menu__sub">
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('button.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            button
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('popover.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            dropdown
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('popover.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            table
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('alert.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            alert
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('popover.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            popover
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('tooltip.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            tooltip
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('timeline.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            timeline
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </li>
                                                            <li class="mega-menu__list">
                                                                <span
                                                                    class="mega-menu__title text-uppercase">
                                                                    user details
                                                                </span>
                                                                <ul
                                                                    class="t-list mega-menu__sub">
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('user.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            user
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('user-list.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            user list
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('profile.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            profile
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('inbox.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            inbox
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </li>
                                                            <li class="mega-menu__list">
                                                                <span
                                                                    class="mega-menu__title text-uppercase">
                                                                    elements
                                                                </span>
                                                                <ul
                                                                    class="t-list mega-menu__sub">
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('chat.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            chat
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('group-chat.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            group chat
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('form.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            form
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('form-validation.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            form validation
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('price-table.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            price table
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </li>
                                                            <li class="mega-menu__list">
                                                                <span
                                                                    class="mega-menu__title text-uppercase">
                                                                    data info
                                                                </span>
                                                                <ul
                                                                    class="t-list mega-menu__sub">
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('chart.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            chart 1
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('chart-2.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            chart 2
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('data-table.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            data table
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="#" onclick="up_load('data-search.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            data search
                                                                        </a>
                                                                    </li>
                                                                    <li
                                                                        class="mega-menu__sub-list">
                                                                        <a href="@" onclick="up_load('faq.html')"
                                                                            class="mega-menu__link text-capitalize">
                                                                            FAQ
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </li>

                                    <li class="primary-nav-list__item border-bottom-0">

                                    </li>

                                    <li class="primary-nav-list__item border-bottom-0 d-none d-lg-block">

                                    </li>
                                    <li class="primary-nav-list__item border-bottom-0">
                                        <div class="dropdown">
                                            <a href="#" aria-expanded="false"
                                                data-toggle="dropdown"
                                                class="t-link w-100 primary-nav-list__link primary-nav-list__link-has-menu text-capitalize">
                                                <div class="d-flex align-items-center">
                                                    <span class="mx-user mx-user--sm">
                                                    </span>
                                                    <span
                                                        class="d-none d-lg-inline-block t-ml-8">
                                                        {{ request.user }}
                                                        <span
                                                            class="t-ml-5 d-inline-block xsm-text"
                                                            data-feather="chevron-down"></span>
                                                    </span>
                                                </div>
                                            </a>
                                            <div class="dropdown-menu dropdown-menu-right">
                                                <ul class="t-list mx-author-menu">
                                                    <li class="mx-author-menu__list">
                                                        <a href="{% url 'login' %}"
                                                            class="mx-author-menu__link text-capitalize">
                                                            <div
                                                                class="d-flex align-items-center">
                                                                <span
                                                                    class="xxlg-text t-mr-8 d-inline-block t-line-1">
                                                                    <i
                                                                        class='bx bx-log-out-circle'></i>
                                                                </span>
                                                                <span
                                                                    class="d-inline-block t-line-1 sm-text">
                                                                    退出
                                                                </span>
                                                            </div>
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </header>
        <iframe src="{% url 'get_index' %}" id="iframeID" frameborder="0"></iframe>
        </section>
    </div>
    
    <!-- jquery -->
    <script src="{% static 'assets/js/jquery.js' %}"></script>
    <script src="{% static 'assets/js/jquery-ui.min.js' %}"></script>

    <!-- Date and Time  -->
    <script src="{% static 'assets/js/moment.js' %}"></script>
    <script src="{% static 'assets/js/bootstrap-material-datetimepicker.js' %}"></script>

    <!-- Bootstrap -->
    <script src="{% static 'assets/js/bootstrap.bundle.min.js' %}"></script>
    <!-- Slick Slider  -->
    <script src="{% static 'assets/js/slick.min.js' %}"></script>
    <!-- Owl carousel -->
    <script src="{% static 'assets/js/owl.carousel.min.js' %}"></script>
    <!-- simplebar -->
    <script src="{% static 'assets/js/simplebar.js' %}"></script>
    <!-- Prism JS  -->
    <script src="{% static 'assets/js/prism.js' %}"></script>
    <!-- Feather Icon  -->
    <script src="{% static 'assets/js/feather.js' %}"></script>
    <!-- Nice Select  -->
    <script src="{% static 'assets/js/jquery.nice-select.min.js' %}"></script>
    <!-- Dropzone  -->
    <script src="{% static 'assets/js/dropzone.js' %}"></script>
    <!-- ION Range Slider  -->
    <script src="{% static 'assets/js/ion.rangeSlider.js' %}"></script>
    <!-- Touchspin  -->
    <script src="{% static 'assets/js/jquery.bootstrap-touchspin.min.js' %}"></script>
    <!-- Rating Bar -->
    <script src="{% static 'assets/js/jquery.barrating.min.js' %}"></script>
    <!-- Calendar  -->
    <script src="{% static 'assets/js/fullcalendar.min.js' %}"></script>
    <!-- Apexchart  -->
    <script src="{% static 'assets/js/apexcharts.js' %}"></script>
    <script src="{% static 'assets/js/chart-dash-1.js' %}"></script>
    <!-- Main script -->
    <script src="{% static 'assets/js/main.js' %}"></script>
</body>
<script>
    function up_load(update_file){
        $("#iframeID").attr('src',update_file)
    }
</script>

</html>